<div data-page="Result" id="Result" class="page">
    <div class="page-content" style="background: url('{{bgurl}}') no-repeat;background-position: center center;background-size: 50% auto;">
        <div class="navbar">
            <div class="navbar-inner bg-white">
                <div class="left sliding"></div>
                <div class="center sliding">结果汇总</div>
                <div class="right sliding"></div>
            </div>
        </div>

        <div class="content-block-title color-gray size-15 bold">提交成功，请截图保存结果</div>
        {{#js_compare "this.restype==1"}}
        {{#each ansdata.data}}
        <div class="content-block-title color-{{color}} size-15 bold">{{content}}共{{num}}个</div>
        <div class="content-block">
            {{#each ans}}
                <div class="chip bg-{{../color}}">
                    <div class="chip-label color-white">Q{{this}}</div>
                </div>
            {{/each}}
        </div>
        {{/each}}
        {{/js_compare}}
        {{#js_compare "this.restype==2"}}
        <div class="data-table card" style="padding: 10px 15px;margin: 15px;">
            <table style="width: 100%;text-align: left;">
                <thead>
                <tr>
                    {{#each ansdata.hcells}}
                    <th class="label-cell">{{this}}</th>
                    {{/each}}
                </tr>
                </thead>
                <tbody>
                {{#each ansdata.bcells}}
                <tr>
                    {{#if rowheader}}
                    <td class="label-cell" style="width:{{hw}};">{{rowheader}}</td>
                    {{/if}}
                    {{#each rowcells}}
                    <td class="numeric-cell" style="width:{{../cw}};">{{this}}</td>
                    {{/each}}
                </tr>
                {{/each}}
                </tbody>
            </table>
        </div>
        {{/js_compare}}
        {{#if ansdata.introdata}}
        <div class="data-table card" style="padding: 10px 15px;margin: 15px;">
            <table style="width: 100%;text-align: left;">
                <thead>
                    <tr>
                        <th class="labal-cell">{{ansdata.introdata.hcell}}</th>
                    </tr>
                </thead>
                <tbody>
                {{#each ansdata.introdata.bcells}}
                    <tr>
                        {{#js_compare "this != 0"}}<td class="label-cell">{{this}}</td>{{/js_compare}}
                        {{#js_compare "this == 0"}}<td class="label-cell" style="height: 8px"></td>{{/js_compare}}
                    </tr>
                {{/each}}
                </tbody>
            </table>
        </div>
        {{/if}}
    </div>
</div>